net/http.transferWriter.Body (field)
21 uses
net/http (current package)
transfer.go#L63: Body io.Reader
transfer.go#L93: t.Body = rr.Body
transfer.go#L106: if t.ContentLength != 0 && !isKnownInMemoryReader(t.Body) {
transfer.go#L116: t.Body = rr.Body
transfer.go#L129: t.Body = nil
transfer.go#L134: if !atLeastHTTP11 || t.Body == nil {
transfer.go#L139: } else if t.Body == nil { // no chunking, no body
transfer.go#L173: if t.ContentLength >= 0 || t.Body == nil { // redundant checks; caller did them
transfer.go#L184: return t.Body != nil
transfer.go#L219: }(t.Body)
transfer.go#L226: t.Body = nil
transfer.go#L230: t.Body = io.MultiReader(&byteReader{b: rres.b}, errorReader{rres.err})
transfer.go#L232: t.Body = io.MultiReader(&byteReader{b: rres.b}, t.Body)
transfer.go#L235: t.Body = errorReader{rres.err}
transfer.go#L242: t.Body = io.MultiReader(finishAsyncByteRead{t}, t.Body)
transfer.go#L354: if !t.ResponseToHEAD && t.Body != nil {
transfer.go#L430: if r, ok := unwrapNopCloser(t.Body); ok {
transfer.go#L433: if r, ok := t.Body.(*readTrackingBody); ok {
transfer.go#L437: return t.Body
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)